package cn.tedu.tmallpassport.service;

import cn.tedu.tmall.common.pojo.authentication.CurrentPrincipal;
import cn.tedu.tmallpassport.pojo.param.UserLoginInfoParam;
import cn.tedu.tmallpassport.pojo.vo.UserLoginInfoVO;
import cn.tedu.tmallpassport.pojo.vo.UserLoginResultVO;

public interface IUserService {
    // IP地址remoteAddr
    // 浏览器信息userAgent
    UserLoginResultVO login(UserLoginInfoParam userLoginInfoParam,
                            String remoteAddr, String userAgent);

    void logout(CurrentPrincipal currentPrincipal);
}
